package controllers;

import javax.annotation.Resource;

import org.apache.catalina.Manager;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import service.UserManager;

@Controller
public class CommonController {
	@Resource(name="userManagerImpl")
	private UserManager manager;
	@RequestMapping(value="login")
	public String login(){
		System.out.println("login in controller....");
		manager.login();
		return "suc";
	}
}
